<?php /* Smarty version 2.6.26, created on 2013-12-11 16:18:24
         compiled from projects/index.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'geturl', 'projects/index.html', 10, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'header.html', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<table>
    <tr> 
        <th>Имя</th>
        <th>Описание</th>
        <th>Операции</th>
    </tr>
<?php $_from = $this->_tpl_vars['projects']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['d']):
?>
<tr>
    <td> <a href="<?php echo smarty_function_geturl(array('route' => 'viewproject','id' => $this->_tpl_vars['d']->getId()), $this);?>
" > <?php echo $this->_tpl_vars['d']->name; ?>
</a></td>
    <td> <?php echo $this->_tpl_vars['d']->about; ?>
</td>
    <td><a href="<?php echo smarty_function_geturl(array('route' => 'editproject','id' => $this->_tpl_vars['d']->getId()), $this);?>
">Редактировать</a> | 
    <a href="<?php echo smarty_function_geturl(array('route' => 'deleteproject','id' => $this->_tpl_vars['d']->getId()), $this);?>
">Удалить</a></td>
</tr>
<?php endforeach; endif; unset($_from); ?>
</table>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'footer.html', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>